Skip to content

Improves LUKS initramfs rebuild for dracut and chroot environments#462

Open
claudiubelu wants to merge 1 commit into
cloudbase:masterfrom
claudiubelu:sles-os-morphing-luks
Open

Improves LUKS initramfs rebuild for dracut and chroot environments#462
claudiubelu wants to merge 1 commit into
cloudbase:masterfrom
claudiubelu:sles-os-morphing-luks

Conversation

@claudiubelu

Copy link
Copy Markdown
Member
  • Conditionally add initramfs crypttab option only for update-initramfs systems (not dracut, where it may confuse the parser)
  • Case-insensitive UUID matching in crypttab keyfile updates
  • Per-kernel dracut rebuild instead of --regenerate-all for reliable --include handling across distributions
  • Add --no-hostonly and --add crypt flags for generic initramfs in chroot
  • Wrap LUKS UUID lookup errors with a more descriptive CoriolisException

- Conditionally add 'initramfs' crypttab option only for update-initramfs
  systems (not dracut, where it may confuse the parser)
- Case-insensitive UUID matching in crypttab keyfile updates
- Per-kernel dracut rebuild instead of --regenerate-all for reliable
  --include handling across distributions
- Add --no-hostonly and --add crypt flags for generic initramfs in chroot
- Wrap LUKS UUID lookup errors with a descriptive CoriolisException
@claudiubelu claudiubelu force-pushed the sles-os-morphing-luks branch from fb9ff3a to 24b5808 Compare June 26, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant